Declare Function GetWindow Lib "User" (ByVal hWnd As Integer, ByVal code As Integer) As Integer
Declare Sub MoveWindow Lib "User" (ByVal hWnd As Integer, ByVal l As Integer, ByVal t As Integer, ByVal w As Integer, ByVal h As Integer, ByVal redraw As Integer)
Global Const GW_CHILD = 5
Global Const CASCADE = 0
Global Const TILE_HORIZONTAL = 1
Global Const TILE_VERTICAL = 2
Global Const ARRANGE_ICONS = 3
Global jobnum As Integer
Global TableN As Integer
Global SortN As Integer
Global FormulaName As String
Global SectionCode As Integer
Global ScopeCode As Integer
Global CRWFontName As String
Global CRWFontSize As Integer
Global CRWFontItalic As Integer
Global CRWFontUnderLine As Integer
Global CRWFontStrikeThru As Integer
Global ErrorCode As Integer
Global FieldType As Integer
Global SortDir As Integer
Global BoolCond1 As Integer
Global DateCond1 As Integer
Global GroupCondfield As String
' Open, print and close report (used when no changes needed to report)